//
//  ShuhuiTableViewCell.m
//  盘盈贷
//
//  Created by iOS on 15/3/24.
//  Copyright (c) 2015年 Yunpeng Technologies. All rights reserved.
//

#import "ShuhuiTableViewCell.h"

@implementation ShuhuiTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.nameTitle = [[UILabel alloc] init];
        [self.contentView addSubview:self.nameTitle];
        [self.nameTitle release];
        self.shuhuizonge = [[UILabel alloc] init];
        [self.contentView addSubview:self.shuhuizonge];
        [self.shuhuizonge release];
        self.shuhuizonge1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.shuhuizonge1];
        [self.shuhuizonge1 release];
        self.shuhuilixi = [[UILabel alloc] init];
        [self.contentView addSubview:self.shuhuilixi];
        [self.shuhuilixi release];
        self.shuhuilixi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.shuhuilixi1];
        [self.shuhuilixi1 release];
        self.jixitime = [[UILabel alloc] init];
        [self.contentView addSubview:self.jixitime];
        [self.jixitime release];
        
        self.jixitime1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.jixitime1];
        [self.jixitime1 release];
        self.touzijine = [[UILabel alloc] init];
        [self.contentView addSubview:self.touzijine];
        [self.touzijine release];
        
        self.touzijine1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.touzijine1];
        [self.touzijine1 release];
        self.lilv = [[UILabel alloc] init];
        [self.contentView addSubview:self.lilv];
        [self.lilv release];
        
        self.lilv1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.lilv1];
        [self.lilv1 release];
        
        self.shuhuitime = [[UILabel alloc] init];
        [self.contentView addSubview:self.shuhuitime];
        [self.shuhuitime release];
        self.shuhuitime1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.shuhuitime1];
        [self.shuhuitime1 release];
        
        
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.nameTitle.frame = CGRectMake(10, 3, 250, 27);
    self.nameTitle.font = [UIFont fontWithName:@"Helvetica-Bold" size:17];
    self.shuhuizonge.frame = CGRectMake(13, 35, 60, 20);
    self.shuhuizonge.text = @"赎回总额";
    self.shuhuizonge.font = [UIFont systemFontOfSize:14];
    self.shuhuizonge.textColor = [UIColor grayColor];
    self.shuhuizonge1.frame = CGRectMake(70, 35, 40, 20);
    self.shuhuizonge1.font = [UIFont systemFontOfSize:14];
    self.shuhuizonge1.textColor = [UIColor orangeColor];
    self.shuhuilixi.frame = CGRectMake(13, 60, 60, 20);
    self.shuhuilixi.font = [UIFont systemFontOfSize:14];
    self.shuhuilixi.text = @"赎回利息";
    self.shuhuilixi.textColor = [UIColor grayColor];
    self.shuhuilixi1.font = [UIFont systemFontOfSize:14];
    self.shuhuilixi1.frame = CGRectMake(70, 60, 70, 20);
    self.shuhuilixi1.textColor = [UIColor orangeColor];
    self.jixitime.frame = CGRectMake(13, 85, 60, 20);
    self.jixitime.font = [UIFont systemFontOfSize:14];
    self.jixitime.textColor = [UIColor grayColor];
    self.jixitime.text = @"计息时间";
    self.jixitime1.font = [UIFont systemFontOfSize:14];
    self.jixitime1.frame = CGRectMake(70, 85, 100, 20);
    self.jixitime1.textColor = [UIColor orangeColor];
    
    
    self.touzijine.frame = CGRectMake(160, 35, 100, 20);
    self.touzijine.font = [UIFont systemFontOfSize:14];
    self.touzijine.textColor = [UIColor grayColor];
    self.touzijine.text = @"投资金额";
    self.touzijine1.font = [UIFont systemFontOfSize:14];
    self.touzijine1.frame = CGRectMake(220, 35, 110, 20);
    self.touzijine1.textColor = [UIColor orangeColor];
    
    self.lilv.frame = CGRectMake(160, 60, 60, 20);
    self.lilv.font = [UIFont systemFontOfSize:14];
    self.lilv.textColor = [UIColor grayColor];
    self.lilv.text = @"利率";
    self.lilv1.font = [UIFont systemFontOfSize:14];
    self.lilv1.frame = CGRectMake(220, 60, 110, 20);
    self.lilv1.textColor = [UIColor orangeColor];
    
    self.shuhuitime.frame = CGRectMake(160, 85, 90, 20);
    self.shuhuitime.font = [UIFont systemFontOfSize:14];
    self.shuhuitime.textColor = [UIColor grayColor];
    self.shuhuitime.text = @"赎回时间";
    self.shuhuitime1.font = [UIFont systemFontOfSize:14];
    self.shuhuitime1.frame = CGRectMake(220, 85, 110, 20);
    self.shuhuitime1.textColor = [UIColor orangeColor];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
